-
Notifications
You must be signed in to change notification settings - Fork 4.3k
API: Add ListInbounds and ListOutbounds #4723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Got it to work, added both methods, wrote a test and added the corresponding CLI commands. Expaneded two interfaces marked as
|
Opened a PR to the documentation. Similar changes needed in Chinese version and https://github.com/XTLS/Xray-API-documents. |
Could you set protoc and protoc-gen-go to the same version as in the core? |
@Fangliding Done |
看起来不会损坏现有功能,先合了,感谢 PR |
Hi @gsergey418! As i see from your example CLI response Maybe there should be an option to just get list of inbounds without users? |
Fixes #2745. Add the ListInbounds and ListOutbounds methods to the gRPC HandlerService and write the respective CLI commands lsi and lso.